import { getStorageSync, setStorageSync, removeStorageSync } from '@tarojs/taro';

export const getStorage = (key: string) => {
  return getStorageSync(key);
};

export const setStorage = (key: string, value: any) => {
  setStorageSync(key, value);
};

export const removeStorage = (key: string) => {
  removeStorageSync(key);
};
